home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / RCSC.ZIP / PACKAGES / SC22.ZIP / C.TXT < prev    next >
Text File  |  1990-04-18  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.                            Small C Compiler Version 2.2
  5.                                          
  6.          The  Small C compiler translates a subset of the C language into
  7.          assembly language. It runs under PC/MS-DOS 2.1 and later.  Small
  8.          C  is  compatible  with  both  Small Assembler and the Microsoft
  9.          assembler MASM. Small C supports a small memory model  with  one
  10.          code and one data/stack segment.
  11.          
  12.          Small  C  supports  arrays  of  one  dimension. Functions always
  13.          return integer  values.  External  functions  are  automatically
  14.          declared.  Initialization  of global variables is supported. The
  15.          preprocessor supports #include, #define, #ifdef, #ifndef, #else,
  16.          #endif,  #asm,  #endasm  commands  .   The   following   control
  17.          statements  are  supported:  if,  switch,  case, default, break,
  18.          continue, while, for, and do/while. All expression operators are
  19.          supported. Only signed and unsigned integer and  character  data
  20.          types  are  supported. The following standard C features are not
  21.          supported: structures, fields, unions, arrays of  pointers,  and
  22.          casts.
  23.          
  24.          Small  C  supports  UNIX-like  I/O  redirection and command-line
  25.          argument passing. The Small C library includes over 80 functions
  26.          -- a nearly complete set  of  the  standard  UNIX/C  repertoire.
  27.          Binary  as  well  as  character  stream  I/O  is  supported. The
  28.          formatted I/O  functions  printf()  and  scanf()  are  included.
  29.          Random  access  to  files  is  provided.  Programs  can  request
  30.          additional file buffering.
  31.          
  32.          The compiler itself is written in Small  C  and  is  distributed
  33.          with  both  object  and source code. As a self compiler, Small C
  34.          can be modified to  work  in  other  environments  and  to  meet
  35.          special   needs.   Since   everything   is  revealed  and  fully
  36.          documented, Small C  has  tremendous  value  as  an  educational
  37.          device.  Small  C  uses a single pass, recursive descent parsing
  38.          algorithm. It generates p-codes for internal use, and  optimizes
  39.          its output.
  40.          
  41.          The  Small  C  language  and  compiler are fully described in "A
  42.          Small C Compiler: Language, Usage, Theory, and Design" by  James
  43.          E. Hendrix. Copies are available from:
  44.          
  45.                               M&T Publishing, Inc.
  46.                               501 Galveston Dr.
  47.                               Redwood City, CA 94063
  48.                               Phone: 1 (800) 533-4372
  49.          
  50.                                   J. E. Hendrix
  51.                                   P.O. Box 1435
  52.                                 Oxford, MS  38655
  53.          
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.